var GameBase = require('geoGameBase');
cc.Class({
    extends: GameBase,

    properties: {
        currentScene:{
            default: null,
            type: cc.SceneAsset,
            tooltip:'当前场景资源'
        },
        resultScene:{
            default: null,
            type: cc.SceneAsset,
            tooltip:'结果计分场景资源'
        },
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    // start () {},
    /**
     * 去结果场景
     */
    gotoResultScene(){
        this.data.replayScene = this.currentScene.name;
        cc.director.loadScene(this.resultScene.name);
    }

    // update (dt) {},
});
